#ifndef CONFIGCAPTURE_H
#define CONFIGCAPTURE_H

#include <QWidget>

namespace Ui {
class ConfigCapture;
}

class ConfigCapture : public QWidget
{
	Q_OBJECT

public:
	explicit ConfigCapture(QWidget *parent = 0);
	~ConfigCapture();
	void reset();

public slots:
	void SlotStandbyDone();
	void SlotReadyDone();
	void SlotEXPOON();
	void SlotEXPOOFF();
	void SlotIMGDone();
	void SlotError();

signals:
	void SignalJustCaptured(const QString &strFilePath);
	void SignalMessage(const QString &strMessage);
	void SignalStartConsole();
	void SignalSelectedTeeth(int);
	void SignalExitCapture();
	void SignalProgressStart();
	void SignalProgressEnd();
	void SignalSendStandby();
	void SignalSendReady();
	void SignalControlValue(int iVoltage, int iCurrent, int iTime);

private slots:
	void SlotCaptureStart();
	void SlotTeethSelected(int iTeeth);
	void SlotStandby(int iVoltage, int iCurrent, int iTime);
	void SlotReady();

private:
	Ui::ConfigCapture *ui;
};

#endif // CONFIGCAPTURE_H
